import {ReqSearchList} from '@/api/index'
const state={
    searchlist:{}
}
const mutations={
    // 搜索数据
    SAVE_SEARCH_LIST(state,value){
        state.searchlist = value
    }
}
const actions={
    async asyncgetSearchlist({commit},params){
        let data = await ReqSearchList(params);
        commit('SAVE_SEARCH_LIST',data)
    }
}

export default{
    namespaced:true,
    state,
    mutations,
    actions
}
